package com.example.server.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.server.common.constant.Result;
import com.example.server.entity.Button;
import com.example.server.vo.ButtonVO;
import com.example.server.vo.MenuVO;

/**
 * @author china.fuyao@outlook.com
 * @date 2020-04-19 15:34
 */
public interface ButtonService extends IService<Button> {
    /**
     * 新增按钮
     * @param buttonVO
     * @param customerId
     * @return
     */
    Result addButton(ButtonVO buttonVO, Integer customerId);

    /**
     * 修改按钮
     * @param buttonVO
     * @param customerId
     * @return
     */
    Result updateButton(ButtonVO buttonVO, Integer customerId);

    /**
     * 删除按钮
     * @param buttonId
     * @param customerId
     * @return
     */
    Result delButton(Integer buttonId, Integer customerId);
}
